$(document).ready(function() {

	// Tabs
	$('.tabs').tabs({ 
		fx: [
			{opacity:'toggle', duration:'normal'},
        	{opacity:'toggle', duration:'fast'}
		] 
	}).tabs('rotate', 5000, true);
	
	// Language menu hover
	$('#top ul li').hover(
		function(){
			$(this).children('ul').show('fast');
		},
		function(){
			$(this).children('ul').hide('fast');
		}
	);
	
	// Custom combox
	$('.dropdownized').dropdownized();
	
	// Datepicker
	$( ".datepicker" ).datepicker({
		showOn: "button",
		buttonImage: "assets/img/icon-datepicker.png",
		buttonImageOnly: true,
		nextText: '&raquo;',
		prevText: '&laquo;'
	});

});